<template>
  <div class="third">
    <h1>服务说明</h1>
    <p>服务时长:<span>24小时</span></p>
    <p>
      平均响应时长:<span>10秒</span>
      <span></span>
    </p>
    <p>通过电话沟通的形式与律师实时对话，订单有效期24小时</p>
    <div class="serve">
      <h1>服务保障 <img src="@/assets/Di/组20.png" alt="" /></h1>
      <div class="serve-goods">
        <p v-for="(item, index) in list" :key="index">
          <span></span>
          {{ item.title }}
        </p>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {
      list: [
        {
          id: 1,
          title: "认证律师",
        },
        {
          id: 2,
          title: "极速响应",
        },
        {
          id: 3,
          title: "隐私保障",
        },
        {
          id: 4,
          title: "不满意包退",
        },
      ],
    };
  },
};
</script>

<style scoped lang="scss">
.third {
  width: 100%;
  height: 3.8rem;
  background: #ffffff;
  border-radius: 0.25rem;
  position: relative;
  top: -0.6rem;
  padding-left: 0.31rem;
  box-sizing: border-box;
  h1 {
    font-size: 0.32rem;
    margin-top: 0.37rem;
    margin-bottom: 0.1rem;
  }
  p {
    color: #999999;
    font-size: 0.22rem;
    line-height: 0.4rem;
    span {
      display: inline-block;
      margin-left: 0.7rem;
      color: #333333;
    }
    &:nth-of-type(2) {
      display: flex;
      span {
        margin-left: 0.5rem;
        &:nth-of-type(2) {
          margin-top: 0.05rem;
          width: 0.69rem;
          height: 0.27rem;
          display: inline-block;
          background-image: url(@/assets/Di/极速.png);
          background-size: cover;
          background-position: center;
          background-repeat: no-repeat;
          margin-left: 0.1rem;
        }
      }
    }
  }
  .serve {
    width: 6.86rem;
    height: 1.3rem;
    background-color: #ebf1ff;
    border-radius: 0.1rem;
    margin-top: 0.2rem;
    h1 {
      margin: 0;
      margin-left: 0.44rem;
      line-height: 0.8rem;
      img {
        width: 0.43rem;
        height: 0.49rem;
        float: right;
        margin-top: 0.1rem;
        margin-right: 0.3rem;
      }
    }
    .serve-goods {
      display: flex;
      justify-content: space-around;
      p {
        display: flex;
        font-size: 0.24rem;
        font-family: PingFang SC;
        font-weight: 400;
        color: #333333;
        line-height: 0.3rem;
        span {
          width: 0.28rem;
          height: 0.28rem;
          margin: 0;
          background-image: url(@/assets/Di/形状9.png);
          background-repeat: no-repeat;
          background-size: contain;
          background-position: center;
          margin-right: 0.05rem;
        }
      }
    }
  }
}
</style>